


page {
	background-color: #f8f8f8;
	padding: 0 15rpx;
	padding-bottom: 35rpx;
	/* #ifdef H5 */
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		overflow: auto;
	/* #endif */
	* {
	    padding: 0;
	    margin: 0;
		line-height: 1;
		box-sizing: border-box;
		font-size: 24rpx;
	}
}
// 内容居中
.center {
    display: flex;
    align-items: center;
    justify-content: center;
    &X {
        display: flex;
        justify-content: center;
    }
    &Y {
        display: flex;
        align-items: center;
    }
}
// flex布局
.flex {
    display: flex;
    // 内容居右
    &R {
        display: flex;
        justify-content: flex-end;
    }
}
.flex-item {
    flex: 1;
}
.items {
    display: flex;
    flex-wrap: wrap;
}

// 文字隐藏
.texthidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@for $i from 1 through 5 {
    .texthidden-#{$i} {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: $i;
        overflow: hidden;
    }
}
// 点击效果
.hover{
	&:active{
		opacity: 0.5;
	}
}


// 阿里图标库
@font-face {
  font-family: 'iconfont';  /* project id 2190624 */
  src: url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.eot');
  src: url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.woff') format('woff'),
  url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_2190624_wvcn1pmahr.svg#iconfont') format('svg');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}